package com.example.demo.mapper;

import com.example.demo.entity.TMateriel;
import com.example.demo.entity.TMaterielExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface TMaterielMapper {
    int countByExample(TMaterielExample example);

    int deleteByExample(TMaterielExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TMateriel record);

    int insertSelective(TMateriel record);

    List<TMateriel> selectByExample(TMaterielExample example);

    TMateriel selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TMateriel record, @Param("example") TMaterielExample example);

    int updateByExample(@Param("record") TMateriel record, @Param("example") TMaterielExample example);

    int updateByPrimaryKeySelective(TMateriel record);

    int updateByPrimaryKey(TMateriel record);
}